package com.aaa.qy127.entity;

public class Dept {
    private Integer deptid;
    private Integer deptNo;
    private String dname;
    private String remark;
    private Integer status;
    private Integer page;//当前页数
    private Integer limit;//每一页显示的条数

    public Dept() {
    }

    public Dept(Integer deptid, Integer deptNo, String dname, String remark, Integer status, Integer page, Integer limit) {
        this.deptid = deptid;
        this.deptNo = deptNo;
        this.dname = dname;
        this.remark = remark;
        this.status = status;
        this.page = page;
        this.limit = limit;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public Integer getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(Integer deptNo) {
        this.deptNo = deptNo;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "deptid=" + deptid +
                ", deptNo=" + deptNo +
                ", dname='" + dname + '\'' +
                ", remark='" + remark + '\'' +
                ", status=" + status +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }
}
